import { INewsListAction, IPayLoad, NewsListActionTypeName } from '../../typings/interface'

export const init = (data: IPayLoad): INewsListAction => ({
  type: NewsListActionTypeName.ADD_NEWS_LIST,
  payload: data,
})
